//商品分类数据的类型

//分类的数据类型
export interface category{
     id:number,
     name:string
}

//服务器返回数据类型
export type categoryResponseData = category[];

export interface attrValue{
          id?: number,
          valueName: string,
          attrId?: number,
          flag?:boolean,
}
export type attrValueList = attrValue[]

export interface attrModel{
     id?: number,
     attrName: string,
     categoryId: number|string,
     categoryLevel: number,
     attrValueList: attrValueList
 }
 export type attrModelList = attrModel[]